/* 对账司机提交
 */

import { getRequest, postRequest, getDownload } from '@/lib/axios'

export const commissionApi = {
  // 司机提交列表
  queryList: (param) => {
    return getRequest('/account/driver_commission_list', param)
  },
  // 导出
  exportXlsx: (param) => {
    return getDownload('/account/exportComission', param)
  },
  // 司机提成详情页
  getDetail: (param) => {
    return getRequest('/account/comissionDetail', param)
  },
  // 经销商对账
  dealerOrder: (param) => {
    return getRequest('/account/dealer_order', param)
  },
  // 导出
  exportOrder: (param) => {
    return getDownload('/account/dealer_order', param)
  },
  // 经销商对账详情页
  dealerOrderDetail: (param) => {
    return getRequest('/account/dealer_order_detail', param)
  }
}
